package cn.yh.shop.user.model;
/**
 * @Description:用户地址实体类
 * @author:仇文文
 * @time:2016年12月16日 下午5:58:11
 */
public class UserAddress implements java.io.Serializable {
	/**.
	 * @Description: serialVersionUID : 序列化
	 */
	private static final long serialVersionUID = 1L;
	/**.
	 * @Description: id :收货地址id
	 */
	private Integer id;
	/**.
	 * @Description: receiveName : 收货人姓名
	 */
	private String receiveName;
	/**.
	 * @Description: phone : 收货人电话
	 */
	private String phone;
	/**.
	 * @Description: address : 收货地址
	 */
	private String address;
	/**.
	 * @Description: userId : 所属用户id
	 */
	private Integer userId;
	/**.
	 * @Description: isDefault : 默认地址  1:默认   0:不默认
	 */
	private Boolean isDefault;
	/**
	 * @Description: detailAddress : 详细地址
	 */
	private String detailAddress;
	/**.
	 * @Description:default 构造方法 
	 */
	public UserAddress() {
	}
	/**.
	 * @Description:full constructor 
	 * @param receiveName
	 * @param phone
	 * @param address
	 * @param userId
	 * @param isDefault
	 */
	public UserAddress(String receiveName, String phone, String address,
			Integer userId, Boolean isDefault) {
		this.receiveName = receiveName;
		this.phone = phone;
		this.address = address;
		this.userId = userId;
		this.isDefault = isDefault;
	}
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getReceiveName() {
		return this.receiveName;
	}

	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Boolean getIsDefault() {
		return this.isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}
	public String getDetailAddress() {
		return detailAddress;
	}
	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

}